<?php if(!defined('BASEPATH'))exit('No direct script access allowed'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<?php echo base_url(); ?>templates/home/images/favicon.ico" type="image/x-icon" />
<script language="javascript" src="<?php echo base_url(); ?>templates/admin/js/jquery.js"></script>
<script language="javascript" src="<?php echo base_url(); ?>templates/admin/js/jquery.datepicker.js"></script>
<script language="javascript" src="<?php echo base_url(); ?>templates/admin/js/general.js"></script>
<link href="<?php echo base_url(); ?>templates/admin/css/style.css" type="text/css" rel="stylesheet" />
<link href="<?php echo base_url(); ?>templates/admin/css/datepicker.css" type="text/css" rel="stylesheet" />
<!--[if ie 6]>
	<link href="<?php echo base_url(); ?>templates/admin/css/ie6.css" type="text/css" rel="stylesheet" />
<![endif]-->
<!--[if ie 7]>
	<link href="<?php echo base_url(); ?>templates/admin/css/ie7.css" type="text/css" rel="stylesheet" />
<![endif]-->
<!--[if ie 8]>
	<link href="<?php echo base_url(); ?>templates/admin/css/ie8.css" type="text/css" rel="stylesheet" />
<![endif]-->
<title><?php echo lang('HEADER'); ?></title>
</head>
<body>
<table cellpadding="0" cellspacing="0">
	<tr>
    	<td class="header">
        	<div class="title"><?php echo lang('HEADER'); ?></div>
            <?php if(is_logined($this->session->userdata('idAdmin'), $this->session->userdata('groupAdmin'))){ ?>
            <div class="logout" onclick="redirect('<?php echo base_url().ADMIN_PATH; ?>logout')" title="<?php echo lang('LOGOUT'); ?>"><?php echo lang('LOGOUT'); ?></div>
            <?php } ?>
        </td>
    </tr>